import React from 'react'
import { BrowserRouter, Routes, Route, Link, NavLink, useRoutes } from "react-router-dom"
import Rou from "../../Router"
import "./Nav.css"
export default function Nav() {

    return (
        <div className='nav'>
            {
                Rou.map((iteam, index) => {
                //    let aa = iteam.meta.names
                //    console.log(aa);
                 return   <NavLink key={index} to={`${iteam.path}`}>{iteam.meta}</NavLink>
                })
            }

        
        </div>
    )
}
